<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <script src="../../JavaScript/jQuery.js"></script>
  <script>
    $(function () {  
      $('#btn').click(function () {  
        console.log($(this).val());
        $(this).val('哈哈');
      });
      $('#btn2').click(function () {
        $('#btn').trigger('click');
        console.log('click btn2');
      });
    });
  </script>
</head>
<body>
  <input type="button" name="btn" id="btn" value="haha"/>
  <!-- <input type="button" name="btn" id="btn2" value="haha"/> -->
</body>
</html>